//
//  JMNewsCell.m
//  仿生物无忧
//
//  Created by JimmyPeng on 15/12/9.
//  Copyright © 2015年 彭继宗. All rights reserved.
//

#import "JMNewsCell.h"

@interface JMNewsCell()

@end

@implementation JMNewsCell


- (void)setList:(JMListNews *)list
{
    _list = list;
    
    
    self.nameLabel.text = self.list.title;
    
    self.detailLabel.text = self.list.detail;
    
    [self.imgView sd_setImageWithURL:[NSURL URLWithString:self.list.titlePic] placeholderImage:[UIImage imageNamed:@"logo"]];
    
}


@end
